package com.car.shopping.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 董旭
 * @since 2024-08-28
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("goods_info")
public class GoodsInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "goods_id", type = IdType.AUTO)
    private Integer goodsId;

    @TableField("goods_name")
    private String goodsName;

    @TableField("goods_state")
    private Integer goodsState;

    @TableField("goods_freeze")
    private Integer goodsFreeze;

    @TableField("goods_stock")
    private Integer goodsStock;

    @TableField("goods_type_id")
    private Integer goodsTypeId;

    @TableField("goods_img")
    private String goodsImg;

    @TableField("goods_price")
    private BigDecimal goodsPrice;

    @TableField("score")
    private Integer score;

    @TableField("modify_time")
    private LocalDateTime modifyTime;

    @TableField("admin_id")
    private Integer adminId;

    @TableField("goods_detail")
    private String goodsDetail;


}
